ATSUSetTextLayoutRefCon

Sets application-specific text layout object data.

OSStatus ATSUSetTextLayoutRefCon (
                     ATSUTextLayout iTextLayout,
                     UInt32 iRefCon);
iTextLayout
A reference of type ATSUTextLayout. Pass a reference to an initialized text layout object whose application-specific data you want to set. You cannot pass NULL for this parameter.

iRefCon
A 32-bit value, pointer, or handle to application-specific text layout data.

function result
A result code. See Result Codes.
DISCUSSION
Note that when you copy a text layout object that contains a reference constant, the reference constant will not be copied. When you dispose of a text layout object that contains a reference constant, you are responsible for freeing any memory allocated for the reference constant. Calling ATSUDisposeTextLayout will not do so.

VERSION NOTES
Available with ATSUI 1.0.


© 2000 Apple Computer, Inc. – (Last Updated 25 Jan 00)